![]() |
KCSetInteractionAllowed |
||||
Header: | Keychain.h | Carbon status: | Under Evaluation | |
Enables you to specify whether user interaction is allowed.
OSStatus KCSetInteractionAllowed ( Boolean state );
A flag that toggles the user interface state. If you pass true, user interaction is allowed. By default, user interaction is allowed. If you pass false, user interaction is not allowed. In this case, the Keychain functions that normally display a user interface will instead return an error.
A result code.
You can call the KCSetInteractionAllowed function to tell Keychain functions that display user interface whether or not to do so. Failing to re-enable user interaction will affect other clients of the Keychain Manager. The interaction allowed state is reset when the machine reboots to the default state, that is, user interaction allowed.
Available beginning with Keychain Manager 2.0.
Under evaluation for Carbon. Available in CarbonLib 1.0 and later when KeychainLib 2.0 or later is installed. Exported by CarbonLib 1.0 and later and by KeychainLib 2.0 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)